﻿using iTextSharp.text;

namespace YunSpace.Core.Pdf.Params
{
    /// <summary>
    /// 单元格样式
    /// </summary>
    public class CellStyleParam
    {
        /// <summary>
        /// 列
        /// </summary>
        public int Colspan { get; set; } = 1;

        /// <summary>
        /// 行
        /// </summary>
        public int Rowspan { get; set; } = 1;

        /// <summary>
        /// 垂直
        /// </summary>
        public int VerticalAlignment { get; set; } = Element.ALIGN_MIDDLE;

        /// <summary>
        /// 水平
        /// </summary>
        public int HorizontalAlignment { get; set; } = Element.ALIGN_CENTER;

        /// <summary>
        /// 字体大小
        /// </summary>
        public int FontSize { get; set; } = 8;

        /// <summary>
        /// 边框宽度
        /// </summary>
        public int BorderWith { get; set; } = 1;
    }
}
